import Vue from 'vue' 
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const Home =() => import("views/home/Home")
const Time =() => import("views/Time")
const Picture =() => import("views/Picture")
const Sofa =() => import("views/Sofa")
const Collection = () => import("views/Collection")

const routes = [
    {
      path: '/',
      redirect: '/Home'
    },
    {
      path: '/Home',
      component: Home
    },
    {
      path: '/Time',
      component: Time
    },
    {
      path: '/Picture',
      component: Picture
    },
    {
      path: '/Sofa',
      component: Sofa
    },
    {
      path: '/Collection',
      component: Collection
    }
]
const router = new VueRouter({
  routes
})

export default router
